package com.qf.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.test.pojo.DtsAccountTrace;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 账户流水表 Mapper 接口
 * </p>
 *
 * @author zhaojian
 * @since 2021-05-12
 */
public interface DtsAccountTraceMapper extends BaseMapper<DtsAccountTrace> {
    /**
     * 佣金列表首页返回
     */
    @Select("/SELECT id,trace_sn as traceSn,user_id as userId,type,amount,total_amount as totalAmount,add_time as addTime,status " +
            " from dts_account_trace ")
    public IPage<DtsAccountTrace> findall();

}
